package com.oa.admin.entity;


import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;


import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 财务事项提醒
 * </p>
 *
 * @author syb123
 * @since 2019-01-22
 */
@Data
@TableName("admin_financial_remind")
@ApiModel(value = "财务事项提醒")
public class FinancialRemind extends Model<FinancialRemind> {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "事项名称")
    private String name;

    @ApiModelProperty(value = "完成时间")
    private Date overTime;

    @ApiModelProperty(value = "提醒日期")
    private Date remindTime;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty("文件名称")
    private String fileName;

    @ApiModelProperty("文件地址")
    private String fileAddress;

    @ApiModelProperty("通知人")
    private String alertOthers;

    @ApiModelProperty(value = "是否删除 1-已删除 2-未删除")
    private Integer isDeleted;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}